var map = new AMap.Map("map", {
    resizeEnable: true,
    zoom: 15 //地图显示的缩放级别
});
var search, center = [116.39946, 39.907629];
var searchOptions = {
    map: map,
    keywords: '',
//  pageSize: 12,
    orderBy: '_id:ASC'
};
//加载CloudDataSearch服务插件
AMap.service(["AMap.CloudDataSearch"], function() {
    search = new AMap.CloudDataSearch('532b9b3ee4b08ebff7d535b4', searchOptions); 
    search.searchNearBy(center, 10000);
});